package com.xyz.entity.mapper;

import com.xyz.dto.PartInnStockDto;
import com.xyz.entity.pojo.PartInnStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PartInnStockMapper {

    PartInnStock selectByPrimaryKey(@Param("id") Long id);

    Long insert(PartInnStock partInnStock);

    int updateStockByPk(PartInnStock partInnStock);

    int deleteByPrimaryKey(@Param("id") Long id);


    List<PartInnStock> selectByPartIdList(@Param("partIdList") List<Long> partIdList);

    List<PartInnStockDto> selectPartInnList(@Param("param") String param);


}
